<?php /* Smarty version Smarty-3.1.8, created on 2012-04-17 17:18:03
         compiled from "C:\xampp\htdocs\Projects\Project_step\administrator\themes\release\users\view.tpl" */ ?>
<?php /*%%SmartyHeaderCode:132874f8bff440caf64-77866274%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '10f72b24063d93783161762fb31e41959169d8b4' => 
    array (
      0 => 'C:\\xampp\\htdocs\\Projects\\Project_step\\administrator\\themes\\release\\users\\view.tpl',
      1 => 1334675595,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '132874f8bff440caf64-77866274',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f8bff4416d7c5_05463693',
  'variables' => 
  array (
    'user' => 0,
    'roles' => 0,
    'role' => 0,
    'path' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f8bff4416d7c5_05463693')) {function content_4f8bff4416d7c5_05463693($_smarty_tpl) {?><h3><?php echo $_smarty_tpl->tpl_vars['user']->value->display_name;?>
</h3>
<table width="100%">
	<tr>
    	<td>Отображаемое имя</td>
        <td><?php echo $_smarty_tpl->tpl_vars['user']->value->display_name;?>
</td>
    </tr>
    <tr>
    	<td>email</td>
        <td><?php echo $_smarty_tpl->tpl_vars['user']->value->email;?>
</td>
    </tr>
    <tr>
    	<td>Логин</td>
        <td><?php echo $_smarty_tpl->tpl_vars['user']->value->username;?>
</td>
    </tr>
    <tr>
    	<td style="text-align:center;" colspan="2">Роли</td>
    </tr>
    <?php  $_smarty_tpl->tpl_vars['role'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['role']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['role']->key => $_smarty_tpl->tpl_vars['role']->value){
$_smarty_tpl->tpl_vars['role']->_loop = true;
?>
    <tr>
    	<td style="text-align:center;" colspan="2"><?php echo $_smarty_tpl->tpl_vars['role']->value->itemname;?>
</td>
    </tr>
    <?php } ?>
    <tr>
    	<td>
        	<a href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
users/editRole/<?php echo $_smarty_tpl->tpl_vars['user']->value->id;?>
">Редактировать роль</a>
      	</td>
    </tr>
</table><?php }} ?>